package com.c35.action;

public class CommandTest {

	public static void main(String[] args){
		Command cmd1 = new CutCommand() ;
		Command cmd2 = new DeleteCommand() ;
		CommandManager cmdMan = new CommandHistoryManager() ;
		cmdMan.storeCommand(cmd1) ;
		cmdMan.storeCommand(cmd2) ;
		cmd1.execute() ;
		cmd2.execute() ;
		cmdMan.undo() ;
		cmdMan.redo() ;
	}
}
